home *** CD-ROM | disk | FTP | other *** search
/ Motor Sport Digital Archive Collection 1960s / Motor Sport Digital Archive Collection 1960s.iso / main.swf / scripts / mx / rpc / events / AbstractEvent.as next >
Encoding:
Text File  |  2008-05-21  |  754 b   |  31 lines

  1. package mx.rpc.events
  2. {
  3.    import mx.core.mx_internal;
  4.    import mx.messaging.events.MessageEvent;
  5.    import mx.messaging.messages.IMessage;
  6.    import mx.rpc.AsyncToken;
  7.    
  8.    use namespace mx_internal;
  9.    
  10.    public class AbstractEvent extends MessageEvent
  11.    {
  12.       private var _token:AsyncToken;
  13.       
  14.       public function AbstractEvent(param1:String, param2:Boolean = false, param3:Boolean = true, param4:AsyncToken = null, param5:IMessage = null)
  15.       {
  16.          super(param1,param2,param3,param5);
  17.          _token = param4;
  18.       }
  19.       
  20.       mx_internal function callTokenResponders() : void
  21.       {
  22.       }
  23.       
  24.       public function get token() : AsyncToken
  25.       {
  26.          return _token;
  27.       }
  28.    }
  29. }
  30.  
  31.